package com.hs.mapper;

import com.hs.entity.MyNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyNoticeMapper {
    //增
    int addMyNotice(MyNotice myNotice);
    //删
    int deleteMyNotice(int id);
    //改
    int updateMyNotice(MyNotice myNotice);
    //查
    List<MyNotice> getMyNoticeById(int id);
    //分页查
    List<MyNotice> getAllMyNoticeByPage(int pageNum, int pageSize);
}
